package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消防一键报警信息对象 c5_fire_alarm
 * 
 * @author whz
 * @date 2024-12-04
 */
public class FireAlarm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 报警日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmDate;

    /** 报警信息 */
    @Excel(name = "报警信息")
    private String alarmMessage;

    /** 报警状态 */
    @Excel(name = "报警状态")
    private String alarmStatus;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String fireAlarmExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String fireAlarmExtra2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String fireAlarmExtra3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String fireAlarmExtra4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String fireAlarmExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAlarmDate(Date alarmDate) 
    {
        this.alarmDate = alarmDate;
    }

    public Date getAlarmDate() 
    {
        return alarmDate;
    }
    public void setAlarmMessage(String alarmMessage) 
    {
        this.alarmMessage = alarmMessage;
    }

    public String getAlarmMessage() 
    {
        return alarmMessage;
    }
    public void setAlarmStatus(String alarmStatus) 
    {
        this.alarmStatus = alarmStatus;
    }

    public String getAlarmStatus() 
    {
        return alarmStatus;
    }
    public void setFireAlarmExtra1(String fireAlarmExtra1) 
    {
        this.fireAlarmExtra1 = fireAlarmExtra1;
    }

    public String getFireAlarmExtra1() 
    {
        return fireAlarmExtra1;
    }
    public void setFireAlarmExtra2(String fireAlarmExtra2) 
    {
        this.fireAlarmExtra2 = fireAlarmExtra2;
    }

    public String getFireAlarmExtra2() 
    {
        return fireAlarmExtra2;
    }
    public void setFireAlarmExtra3(String fireAlarmExtra3) 
    {
        this.fireAlarmExtra3 = fireAlarmExtra3;
    }

    public String getFireAlarmExtra3() 
    {
        return fireAlarmExtra3;
    }
    public void setFireAlarmExtra4(String fireAlarmExtra4) 
    {
        this.fireAlarmExtra4 = fireAlarmExtra4;
    }

    public String getFireAlarmExtra4() 
    {
        return fireAlarmExtra4;
    }
    public void setFireAlarmExtra5(String fireAlarmExtra5) 
    {
        this.fireAlarmExtra5 = fireAlarmExtra5;
    }

    public String getFireAlarmExtra5() 
    {
        return fireAlarmExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("alarmDate", getAlarmDate())
            .append("alarmMessage", getAlarmMessage())
            .append("alarmStatus", getAlarmStatus())
            .append("fireAlarmExtra1", getFireAlarmExtra1())
            .append("fireAlarmExtra2", getFireAlarmExtra2())
            .append("fireAlarmExtra3", getFireAlarmExtra3())
            .append("fireAlarmExtra4", getFireAlarmExtra4())
            .append("fireAlarmExtra5", getFireAlarmExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
